<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>投票项目</title>
    <link rel="stylesheet" th:href="@{css/voteProject.css}">
    <script th:src="@{js/firstPic.js}"></script>
</head>
<body>

<!--顶部-->
<div class="nav">
    <div class="nav-up">
        <div class="nav-up-1">
            <p style="margin-left: 50px;margin-top: 10px">欢迎使用高校电子投票系统</p>
        </div>
        <div class="nav-up-2">
            <ul>
                <li><a href="Index">首页</a></li>
                <li><a href="aboutUs">关于我们</a></li>
            </ul>
        </div>
    </div>
    <hr class="line" >
    <div class="nav-down">
        <div class="nav-down-1">
            <h1>高校电子投票系统</h1>
        </div>
        <div class="nav-down-2">
            <div class="nav-down-2-top">
                <ul>
                    <li><a href="login">重新登录</a></li>
                    <li><a href="#"> | </a></li>
                    <li><a href="Register">注册</a></li>
                </ul>
            </div>

            <div class="nav-down-2-down">
                <p>咨询电话：xxx-xxxx-xxxx</p>
            </div>
        </div>
    </div>
</div>
<hr class="line">

<!--导航-->
<div class="GPS">
    <ul>
        <li><a href="Index"><img th:src="@{img/logo.png}" class="GPS-img"></a> </li>
        <li><a href="Index">网站首页</a></li>
        <li><a href="voteProject">投票项目</a></li>
        <li><a href="MesAboutStudy">资讯信息</a></li>
        <li><a href="user">个人中心</a></li>
    </ul>
</div>
<hr class="line" color="snow" size="2px">

    <div class="projects-down">
        <div class="projects-down-1">
            <div>
                <img th:src="@{${pR.getPimg()}}" >
            </div>
            <div class="projects-down-1-r">
                <div class="projects-down-1-title">
                    <h1 th:text="${pR.getPname()}"style="text-align: center;color: black">项目标题</h1>
                </div>
                <div class="projects-down-1-type">
                    <span th:text="'类型：'+${pRl}" style="margin-left: 16px;font-size: 18px;color: black"></span>
                    <span style="font-size: 18px;"></span>
                </div>
                <div class="projects-down-1-voteNum">
                    <span th:text="'总投：'+${pR.getNum()}" style="margin-left: 16px;font-size: 18px"></span>
                    <span style="font-size: 18px;"></span>
                </div>
                <div class="projects-down-1-voteDate">
                    <span th:text="'时间：'+${pR.getPdate()}"style="margin-left: 16px;font-size: 18px"></span>
                    <span style="font-size: 18px;"></span>
                </div>
                <div class="projects-down-1-voteDate"><a th:href="'ProjectVote?id='+${pR.getPid()}+'&pid='+${pR.getPid()}" value="投票" style="background: transparent;background: cornflowerblue;padding: 10px 20px;cursor:pointer;color: #fff;outline:none;font-size: 14px;border: none;border-radius: 5px;text-decoration: none;margin-left: 180px" onclick='return confirm("是否投票？");'>投票
                </a>
                </div>
            </div>
        </div>
        <div class="projects-down-2">
            <div class="projects-down-2-tese">
                <h2>| 项目特色</h2>
                <p th:text="${pR.getRemarks()}"> </p>
            </div>
            <br>
            <div class="projects-down-2-detail">
                <h2>| 详细介绍</h2>
                <p th:text="${pR.getDetail()}"> </p>
            </div>
        </div>

    </div>
</div>




<!--友情链接-->
<div class="kindlink">
    <div class="kindtopic">
        <h2>友情链接</h2>
    </div>
    <div class="kindl">
        <ul>
            <li><a href="https://www.baidu.com/">百度</a></li>
            <li><a href="https://www.sina.com.cn/">新浪</a></li>
            <li><a href="https://weibo.com/newlogin?tabtype=weibo&gid=102803&url=https%3A%2F%2Fweibo.com%2F">微博</a></li>
            <li><a href="https://www.csdn.net/">CSDN</a></li>
        </ul>
    </div>
</div>
<hr class="line" size="1px" color="#808080" width="100%" style="margin-bottom: 10px">

<!--页尾-->
<div class="last1">
    <ul>
        <li><a href="Index">网站首页</a></li>
        <li><a href="voteProject">投票项目</a></li>
        <li><a href="MesAboutStudy">资讯信息</a></li>
        <li><a href="user">个人中心</a></li>
        <li><a href="aboutUs">关于我们</a></li>
    </ul>
</div>
<div class="last2">
    <ul>
        <li><p>地址：江西省南昌市xxxxxxx街xxx号</p></li>
        <li><p>邮箱：xxxxxxxxx@xx.com</p></li>
        <li><p>联系电话：xxxxxxxxxxx</p></li>
        <li><p>严禁侵权</p></li>
    </ul>
</div>


</body>
</html>